﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="News.aspx.cs" Inherits="News" %>
<%@ Register assembly="AspNetPager" namespace="Wuqi.Webdiyer" tagprefix="webdiyer" %>
<%@ Register src="control/Page_Left.ascx" tagname="Page_Left" tagprefix="uc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <%=this.UI_Head() %>
    <link  href="Css/Index.css" rel="Stylesheet"  type="text/css" />
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <%=this.UI_TopControl()%>
    <div  class="topbanner bodyList">
        <div class="body_995">
            <table id="table1" width="100%">
                <tr>
                    <td width="20%">
                        <uc1:Page_Left ID="Page_Left1" runat="server" />
                    </td>
                    <td width="80%">
                        <table width="100%"  border="0" cellspacing="0" cellpadding="0">
                          <tr>
                            <td valign="top" class="tdbg_mainall"><table width="100%"  border="0" cellspacing="0" cellpadding="0">
                              <tr>
                                <td class="title_main">最新图片文章</td>
                              </tr>
                              <tr>
                              
                            <td align="center" class="tdbg_main" style="border:1px solid #cccccc;">
                                <div>
                                    <ul>
                                        <asp:Repeater ID="rptLatestNews" runat="server">
                                        <ItemTemplate>
                                            <li style="width:150px;float:left;height:120px; padding-top:15px;" >
                                                <a href='NewsInfoShow_<%=ArticleClassId %>_<%#Eval("ArticleId") %>.aspx' title='文章标题：<%#Eval("Title") %>文章作者：<%#Eval("Author") %>更新时间：<%#Eval("UpdateTime") %>点击次数：<%#Eval("Hits") %>' target='_blank'><img src='<%#Eval("DefaultPicUrl") %>' width='128px' height='97px' border='0' class='pic1'/><br><%#AspNetCs.Common.StringHelper.stringformat(Eval("Title").ToString(), 20)%></a>
                                            </li>        
                                        </ItemTemplate>
                                      </asp:Repeater>
                                    </ul>
                                </div>
                                </td>
                                
                              </tr>
                            </table></td>
                          </tr>
                        </table>
                        <table width="100%"  border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                  <td valign="top" class="tdbg_mainall"><table width="100%"  border="0" cellspacing="0" cellpadding="0">
                                      <tr>
                                        <td><table width="100%"  border="0" cellspacing="0" cellpadding="0">
                                            <tr>
                                              <td class="title_right"><table width="100%"  border="0" cellspacing="0" cellpadding="0">
                                                  <tr>
                                                    <td width="12"><img src="images/h_cl1.gif" width="14" height="23" /></td>
                                                    <td><strong>
                                                      <%=ArticleClasTitle%>
                                                    </strong></td>
                                                  </tr>
                                              </table></td>
                                            </tr>
                                            <tr>
                                                  <td valign="top" class="tdbg_right">
                                                        <table width="100%"  border="0" cellpadding="0" cellspacing="0">
                                                            <asp:Repeater ID="rptArticleList" runat="server">
                                                                <ItemTemplate>
                                                                    <tr>
                                                                        <td><img src='images/<%#Eval("IsCommend").ToString()=="0"?"article_common.gif":"article_ontop.gif" %>' alt='固顶文章'>
                                                                            &nbsp;<a href='NewsInfoShow_<%=ArticleClassId %>_<%#Eval("ArticleId") %>.aspx' title='文章作者：<%#Eval("EditorId") %>更新时间：<%#Eval("UpdateTime") %>点击次数：474' target='_blank'><%#AspNetCs.Common.StringHelper.stringformat(Eval("Title").ToString(), 80)%>
                                                                            </a>
                                                                        </td>
                                                                        <td align="right">[<font color=#999999><%#Eval("CopyFrom")%></font>|<font color=#999999><%#AspNetCs.Common.StringHelper.isDatetime(Eval("UpdateTime").ToString()).ToString("yyyy年MM月dd日")%></font>|<font color=#999999><%#Eval("Hits") %></font>]</td>
                                                                    </tr>
                                                                </ItemTemplate>
                                                            </asp:Repeater>
                                                            <tr style="display:<%=recodCount==0?"block":"none"%>">
                                                                    <td align="center" rowspan="2">
                                                                        暂无文章
                                                                    </td>
                                                                </tr>
                                                        </table>
                                                  </td>
                                            </tr>
                                        </table></td>
                                      </tr>
                                  </table></td>
                                </tr>
                                
                                <tr>
                                  <td class="tdbg_mainall"><table width="100%"  border="0" cellpadding="0" cellspacing="0" class="border2">
                                      <tr>
                                        <td align="center"><table align='center'><tr><td>
                                            <webdiyer:AspNetPager ID="AspNetPager1" runat="server" 
                                                onpagechanged="AspNetPager1_PageChanged">
                                            </webdiyer:AspNetPager>
                                            </td></tr></table></td>
                                      </tr>
                                  </table></td>
                                </tr>
                                
                              </table>
                    </td>
                </tr>
            </table>
        </div>
    </div>
    <%=this.UI_boot() %>
    </form>
</body>
</html>
